package com.woniu.adminservice.dao;

import com.woniu.adminservice.entity.Log;
import org.apache.ibatis.annotations.Param;
import java.util.List;

public interface LogDao {
    Log queryById(Integer id);

    List<Log> queryAllByLimit(@Param("offset") int offset, @Param("limit") int limit);
    
    List<Log> findAll();

    List<Log> queryAll(Log log);

    int insert(Log log);

    int update(Log log);

    int deleteById(Integer id);

}